import java.util.HashMap;

/**
 * Created by IntelliJ IDEA.
 * User: winstars
 * Date: 2007-3-1
 * Time: 18:43:10
 * To change this template use File | Settings | File Templates.
 */
public class test {
    public static void main(String[] args) {
        Object obj = new Object();
        HashMap map = new HashMap();
        map.put("obj", obj);
        Object obj1 = map.get("obj");
        Object obj2 = map.get("obj");
        if (obj1 == obj2) System.out.println("They are the same!");
        else System.out.println("They are not the same!");
    }
}
